package vo;

import java.io.Serializable;

public class StudyVo implements Serializable {
	int menu_no, menu_step, cate_no,cate_step ,title_no,title_step;
	String menu_name, cate_name, title_name;
	
	int s_no,s_step;
	String s_subject,s_content, s_writer, s_writedate, s_filename;

	public int getMenu_no() {
		return menu_no;
	}

	public void setMenu_no(int menu_no) {
		this.menu_no = menu_no;
	}

	public int getMenu_step() {
		return menu_step;
	}

	public void setMenu_step(int menu_step) {
		this.menu_step = menu_step;
	}

	public int getCate_no() {
		return cate_no;
	}

	public void setCate_no(int cate_no) {
		this.cate_no = cate_no;
	}

	public int getCate_step() {
		return cate_step;
	}

	public void setCate_step(int cate_step) {
		this.cate_step = cate_step;
	}

	public int getTitle_no() {
		return title_no;
	}

	public void setTitle_no(int title_no) {
		this.title_no = title_no;
	}

	public int getTitle_step() {
		return title_step;
	}

	public void setTitle_step(int title_step) {
		this.title_step = title_step;
	}

	public String getMenu_name() {
		return menu_name;
	}

	public void setMenu_name(String menu_name) {
		this.menu_name = menu_name;
	}

	public String getCate_name() {
		return cate_name;
	}

	public void setCate_name(String cate_name) {
		this.cate_name = cate_name;
	}

	public String getTitle_name() {
		return title_name;
	}

	public void setTitle_name(String title_name) {
		this.title_name = title_name;
	}
	
	

	public int getS_no() {
		return s_no;
	}

	public void setS_no(int s_no) {
		this.s_no = s_no;
	}

	public int getS_step() {
		return s_step;
	}

	public void setS_step(int s_step) {
		this.s_step = s_step;
	}

	public String getS_subject() {
		return s_subject;
	}

	public void setS_subject(String s_subject) {
		this.s_subject = s_subject;
	}

	public String getS_content() {
		return s_content;
	}

	public void setS_content(String s_content) {
		this.s_content = s_content;
	}

	public String getS_writer() {
		return s_writer;
	}

	public void setS_writer(String s_writer) {
		this.s_writer = s_writer;
	}

	public String getS_writedate() {
		return s_writedate;
	}

	public void setS_writedate(String s_writedate) {
		this.s_writedate = s_writedate;
	}

	public String getS_filename() {
		return s_filename;
	}

	public void setS_filename(String s_filename) {
		this.s_filename = s_filename;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		String str=String.format("{\"cate_name\":\"%s\",\"cate_no\":\"%d\",\"title_name\":\"%s\",\"title_no\":\"%d\",\"subject\":\"%s\",\"content\":\"%s\"}",cate_name, cate_no,title_name, title_no,s_subject,s_content);
		return str;
	}
	
}
